package cn.wzy.service;

import cn.wzy.domain.Spu;
import cn.wzy.util.AjaxResult;
import com.baomidou.mybatisplus.service.IService;

import java.security.GeneralSecurityException;
import java.util.List;

/**
 * <p>
 * spu表 服务类
 * </p>
 *
 * @author wzy
 * @since 2023-03-08
 */
public interface ISpuService extends IService<Spu> {

    AjaxResult onsale(List<Long> ids) throws GeneralSecurityException;

    AjaxResult offsale(List<Long> ids) throws GeneralSecurityException;

    AjaxResult onsaleSendMsg(List<Long> ids);

    AjaxResult offsaleSendMsg(List<Long> ids);
}
